//
//  JBWUserRecordViewController.m
//  JBWDSK
//
//  Created by 崔志伟 on 2018/7/27.
//  Copyright © 2018年 崔志伟. All rights reserved.
//

#import "JBWUserRecordViewController.h"
#import "JBWUserRecordInfoCell.h"

@interface JBWUserRecordViewController ()<UITableViewDelegate,UITableViewDataSource>
@property (nonatomic,strong) UITableView  * userRecordTabelView ;

@end

@implementation JBWUserRecordViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.bgContentViewHight = 330.0f;
    self.backTitle = @"历史账号";
    UITableView  *tabelView = [[UITableView alloc]initWithFrame:CGRectMake(0, 48, MAIN_BG_VIEW_WIDTH, 330.0-48)];
    tabelView.backgroundColor = [UIColor clearColor];
   tabelView.separatorInset = UIEdgeInsetsMake(0, 15, 0, 15);
    tabelView.delegate = self;
    tabelView.dataSource = self;
    [tabelView registerClass:[JBWUserRecordInfoCell class] forCellReuseIdentifier:@"JBWUserRecordInfoCell"];
    [self.bgContentView addSubview:tabelView];
    
}
#pragma mark == UITableView
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
{
    
    return 4;
}


- (UITableViewCell*)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
    
    JBWUserRecordInfoCell *cell = [tableView dequeueReusableCellWithIdentifier:@"JBWUserRecordInfoCell" forIndexPath:indexPath];
    cell.selectionStyle =  UITableViewCellSelectionStyleNone;
    
    return cell;
    
    
}

- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
{
    
    return 80;
}




@end
